﻿using B.S.EventHandle.ErrorCode;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.SmartStorPro.Domain
{
    /// <summary>
    /// 退货管理表
    /// </summary>
    public class ReturnManagement
    {
        /// <summary>
        /// 退货唯一标识
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int ReturnID { get; set; }
        /// <summary>
        /// 产品ID
        /// </summary>
        public int Productld { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int Quantity { get; set; }
        /// <summary>
        /// 退货原因
        /// </summary>
        /// 
        [MaxLength(255)]
        public string Reason { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public ReturnOrderStatus Status { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreationTime { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        /// 
        [MaxLength(255)]
        public string Remarks { get; set; }
        /// <summary>
        /// 是否删除(1-删除 0正常)
        /// </summary>
        public bool IsDelete { get; set; }

    }
}
